<%=render :partial=>"layouts/careplanmenu"%>
<h1>Listing conditions</h1>
<table border=1>
  <tr>
    <th>Name</th>
    <th>Abbreviation</th>
  </tr>

<% @conditions.each do |condition| %>
  <tr>
    <td><%=h condition.name %></td>
    <td><%=h condition.abbreviation %></td>
    <td><%= link_to 'Edit', edit_condition_path(condition) %></td>
    <td><%= link_to 'Destroy', condition, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New condition', new_condition_path %>